package com.ihr360.payroll.model.code;

import com.ihr360.commons.model.dto.BaseCode;
import lombok.Value;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

import javax.persistence.Cacheable;
import javax.persistence.Entity;

/** 工时周期标准 */
@Value
@Entity
@Cacheable
@Cache(region = "cnb.base", usage = CacheConcurrencyStrategy.NONSTRICT_READ_WRITE)
public class CycleStandard extends BaseCode<Long> {
    /** 月数 */
    private int months;
}